import request from '@/utils/request'

export function getAllOrders(data) {
  return request({
    url: '/orders/all',
    method: 'post',
    data: data
  })
}
export function updateOrder(data) {
  return request({
    url: '/orders/update',
    method: 'put',
    data: data
  })
}
